﻿using System;
using System.Collections.Generic;

namespace HYBY.Task.Repository.Dapper
{
    [Serializable]
    public class Page<T>
    {
        public long CurrentPage { get; set; }
        public long TotalPages { get; set; }
        public long TotalItems { get; set; }
        public long ItemsPerPage { get; set; }
        public IEnumerable<T> Items { get; set; }
        public object Context { get; set; }
    }

    [Serializable]
    public class PageProcedure
    { 
        public string Tables{get;set;}
        public string PK{get;set;}
        public string Sort{get;set;}
        public string Fields{get;set;}
        public string Filter{get;set;}
        public string Group { get; set; }
    
    }
}
